package com.xwdeshj.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * 景区——景区主题游
 */
@Entity(name = "xw_sceinc_themetype")
public class XwSceincThemetype {

    /**
     * 景区主题游id
     */
    @Column(name = "scenic_theme_Id")
    private Integer scenicThemeId;

    /**
     * 景区主题游加密id
     */
    @Column(name = "scenic_theme_encryptId")
    private String scenicThemeEncryptid;

    /**
     * 景区主题游（内容）
     */
    @Column(name = "scenic_themee_desc")
    private String scenicThemeeDesc;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_theme_updatetime")
    private Date scenicThemeUpdatetime;

    /**
     * 提交时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_theme_createtime")
    private Date scenicThemeCreatetime;

    public XwSceincThemetype(){

    }

    public XwSceincThemetype(String scenicThemeEncryptid, String scenicThemeeDesc, Date scenicThemeUpdatetime, Date scenicThemeCreatetime) {
        this.scenicThemeEncryptid = scenicThemeEncryptid;
        this.scenicThemeeDesc = scenicThemeeDesc;
        this.scenicThemeUpdatetime = scenicThemeUpdatetime;
        this.scenicThemeCreatetime = scenicThemeCreatetime;
    }

    /**
     * 获取景区主题游id
     *
     * @return scenic_theme_Id - 景区主题游id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getScenicThemeId() {
        return scenicThemeId;
    }

    /**
     * 设置景区主题游id
     *
     * @param scenicThemeId 景区主题游id
     */
    public void setScenicThemeId(Integer scenicThemeId) {
        this.scenicThemeId = scenicThemeId;
    }

    /**
     * 获取景区主题游加密id
     *
     * @return scenic_theme_encryptId - 景区主题游加密id
     */
    public String getScenicThemeEncryptid() {
        return scenicThemeEncryptid;
    }

    /**
     * 设置景区主题游加密id
     *
     * @param scenicThemeEncryptid 景区主题游加密id
     */
    public void setScenicThemeEncryptid(String scenicThemeEncryptid) {
        this.scenicThemeEncryptid = scenicThemeEncryptid;
    }

    /**
     * 获取景区主题游（内容）
     *
     * @return scenic_themee_desc - 景区主题游（内容）
     */
    public String getScenicThemeeDesc() {
        return scenicThemeeDesc;
    }

    /**
     * 设置景区主题游（内容）
     *
     * @param scenicThemeeDesc 景区主题游（内容）
     */
    public void setScenicThemeeDesc(String scenicThemeeDesc) {
        this.scenicThemeeDesc = scenicThemeeDesc;
    }

    /**
     * 获取更新时间
     *
     * @return scenic_theme_updatetime - 更新时间
     */
    public Date getScenicThemeUpdatetime() {
        return scenicThemeUpdatetime;
    }

    /**
     * 设置更新时间
     *
     * @param scenicThemeUpdatetime 更新时间
     */
    public void setScenicThemeUpdatetime(Date scenicThemeUpdatetime) {
        this.scenicThemeUpdatetime = scenicThemeUpdatetime;
    }

    /**
     * 获取提交时间
     *
     * @return scenic_theme_createtime - 提交时间
     */
    public Date getScenicThemeCreatetime() {
        return scenicThemeCreatetime;
    }

    /**
     * 设置提交时间
     *
     * @param scenicThemeCreatetime 提交时间
     */
    public void setScenicThemeCreatetime(Date scenicThemeCreatetime) {
        this.scenicThemeCreatetime = scenicThemeCreatetime;
    }

    @Override
    public String toString() {
        return "XwSceincThemetype{" +
                "scenicThemeId=" + scenicThemeId +
                ", scenicThemeEncryptid='" + scenicThemeEncryptid + '\'' +
                ", scenicThemeeDesc='" + scenicThemeeDesc + '\'' +
                ", scenicThemeUpdatetime=" + scenicThemeUpdatetime +
                ", scenicThemeCreatetime=" + scenicThemeCreatetime +
                '}';
    }
}